#ifndef FOOD_H
#define FOOD_H
#include <iostream>
#include <QWidget>
#include <QKeyEvent>
#include <QPaintEvent>
#include <QPainter>
#include <QPushButton>

class Food
{
public:
    Food();

    void addNewReward();//增加奖励物品
    //小方块的宽与高
    int nodeWidth=20;
    int nodeHeight=20;
    //奖品
    QRectF rewardNode;
};

#endif // FOOD_H
